package Day06;

import java.util.Scanner;

public class Demo12 {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        char answer = ' ';
        do {
            System.out.println("小韩使出鞭子");
            System.out.println("还钱吗？");
            answer = in.next().charAt(0);
            System.out.println("他的回答是"+answer);
        }while (answer !='y');
        System.out.println("小明还钱了");
    }
}
